<?php
	('Access-Control-Allow-Origin：*');
	include("../config/mysql.php");
	$id = $_POST["id"];
    $name = $_POST["name"];
	$type = $_POST["type"];
	$level = $_POST["level"];
	$cycle = $_POST["cycle"];
	$informationRequired = $_POST["informationRequired"];
	$searchWebsite = $_POST["searchWebsite"];
	$remarks = $_POST["remarks"];
	$db = new mysql();
	$sql = "update prointroduce set name='{$name}',type='{$type}',level='{$level}',cycle='{$cycle}',informationRequired='{$informationRequired}',searchWebsite='{$searchWebsite}',remarks='{$remarks}' where Id = '{$id}'";
	echo $db->Query($sql);
	$db->close();
?>